<div class="kehoaches view">
<h2><?php  __('Kehoach');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $kehoach['Kehoach']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Thoigian'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($kehoach['Thoigian']['id'], array('controller' => 'thoigians', 'action' => 'view', $kehoach['Thoigian']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Donvi'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($kehoach['Donvi']['id'], array('controller' => 'donvis', 'action' => 'view', $kehoach['Donvi']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Kehoach', true), array('action' => 'edit', $kehoach['Kehoach']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Kehoach', true), array('action' => 'delete', $kehoach['Kehoach']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $kehoach['Kehoach']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Kehoaches', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Kehoach', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thoigians', true), array('controller' => 'thoigians', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thoigian', true), array('controller' => 'thoigians', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Donvis', true), array('controller' => 'donvis', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Donvi', true), array('controller' => 'donvis', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chitieudvs', true), array('controller' => 'chitieudvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chitieudv', true), array('controller' => 'chitieudvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chitieunvs', true), array('controller' => 'chitieunvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chitieunv', true), array('controller' => 'chitieunvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Diemchuans', true), array('controller' => 'diemchuans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Diemchuan', true), array('controller' => 'diemchuans', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Nvchithis', true), array('controller' => 'nvchithis', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Nvchithi', true), array('controller' => 'nvchithis', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Nvngays', true), array('controller' => 'nvngays', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Nvngay', true), array('controller' => 'nvngays', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Chitieudvs');?></h3>
	<?php if (!empty($kehoach['Chitieudv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Donvi Id'); ?></th>
		<th><?php __('Kehoach Id'); ?></th>
		<th><?php __('Hanghoa Id'); ?></th>
		<th><?php __('Soluong'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($kehoach['Chitieudv'] as $chitieudv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chitieudv['id'];?></td>
			<td><?php echo $chitieudv['donvi_id'];?></td>
			<td><?php echo $chitieudv['kehoach_id'];?></td>
			<td><?php echo $chitieudv['hanghoa_id'];?></td>
			<td><?php echo $chitieudv['soluong'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'chitieudvs', 'action' => 'view', $chitieudv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'chitieudvs', 'action' => 'edit', $chitieudv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'chitieudvs', 'action' => 'delete', $chitieudv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chitieudv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Chitieudv', true), array('controller' => 'chitieudvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Chitieunvs');?></h3>
	<?php if (!empty($kehoach['Chitieunv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Hanghoa Id'); ?></th>
		<th><?php __('Kehoach Id'); ?></th>
		<th><?php __('Nhanvien Id'); ?></th>
		<th><?php __('Soluong'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($kehoach['Chitieunv'] as $chitieunv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chitieunv['id'];?></td>
			<td><?php echo $chitieunv['hanghoa_id'];?></td>
			<td><?php echo $chitieunv['kehoach_id'];?></td>
			<td><?php echo $chitieunv['nhanvien_id'];?></td>
			<td><?php echo $chitieunv['soluong'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'chitieunvs', 'action' => 'view', $chitieunv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'chitieunvs', 'action' => 'edit', $chitieunv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'chitieunvs', 'action' => 'delete', $chitieunv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chitieunv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Chitieunv', true), array('controller' => 'chitieunvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Diemchuans');?></h3>
	<?php if (!empty($kehoach['Diemchuan'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Hanghoa Id'); ?></th>
		<th><?php __('Kehoach Id'); ?></th>
		<th><?php __('Donvi Id'); ?></th>
		<th><?php __('Soluong'); ?></th>
		<th><?php __('Diem'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($kehoach['Diemchuan'] as $diemchuan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $diemchuan['id'];?></td>
			<td><?php echo $diemchuan['hanghoa_id'];?></td>
			<td><?php echo $diemchuan['kehoach_id'];?></td>
			<td><?php echo $diemchuan['donvi_id'];?></td>
			<td><?php echo $diemchuan['soluong'];?></td>
			<td><?php echo $diemchuan['diem'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'diemchuans', 'action' => 'view', $diemchuan['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'diemchuans', 'action' => 'edit', $diemchuan['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'diemchuans', 'action' => 'delete', $diemchuan['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $diemchuan['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Diemchuan', true), array('controller' => 'diemchuans', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Nvchithis');?></h3>
	<?php if (!empty($kehoach['Nvchithi'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Kehoach Id'); ?></th>
		<th><?php __('Nhanvien Id'); ?></th>
		<th><?php __('Dvt Id'); ?></th>
		<th><?php __('Congviec'); ?></th>
		<th><?php __('Ketqua'); ?></th>
		<th><?php __('Thoihan'); ?></th>
		<th><?php __('Danhgia'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($kehoach['Nvchithi'] as $nvchithi):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $nvchithi['id'];?></td>
			<td><?php echo $nvchithi['kehoach_id'];?></td>
			<td><?php echo $nvchithi['nhanvien_id'];?></td>
			<td><?php echo $nvchithi['dvt_id'];?></td>
			<td><?php echo $nvchithi['congviec'];?></td>
			<td><?php echo $nvchithi['ketqua'];?></td>
			<td><?php echo $nvchithi['thoihan'];?></td>
			<td><?php echo $nvchithi['danhgia'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'nvchithis', 'action' => 'view', $nvchithi['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'nvchithis', 'action' => 'edit', $nvchithi['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'nvchithis', 'action' => 'delete', $nvchithi['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $nvchithi['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Nvchithi', true), array('controller' => 'nvchithis', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Nvngays');?></h3>
	<?php if (!empty($kehoach['Nvngay'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Kehoach Id'); ?></th>
		<th><?php __('Nhanvien Id'); ?></th>
		<th><?php __('Nhiemvu'); ?></th>
		<th><?php __('Chitieu'); ?></th>
		<th><?php __('Ketqua'); ?></th>
		<th><?php __('Tyle'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($kehoach['Nvngay'] as $nvngay):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $nvngay['id'];?></td>
			<td><?php echo $nvngay['kehoach_id'];?></td>
			<td><?php echo $nvngay['nhanvien_id'];?></td>
			<td><?php echo $nvngay['nhiemvu'];?></td>
			<td><?php echo $nvngay['chitieu'];?></td>
			<td><?php echo $nvngay['ketqua'];?></td>
			<td><?php echo $nvngay['tyle'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'nvngays', 'action' => 'view', $nvngay['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'nvngays', 'action' => 'edit', $nvngay['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'nvngays', 'action' => 'delete', $nvngay['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $nvngay['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Nvngay', true), array('controller' => 'nvngays', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
